<template>
  <div class="kapiandaohang" v-if="module.modules.length">
    <div class="cardArray flex-y">
      <div
        v-for="item in module.modules"
        :key="item.id"
        class="iconad-item"
      >
        <img
          :src="fileBaseUrl + item.pic"
          class="img-cart"
          style="height:140px"
        />
      </div>
    </div>
  </div>
  <ModuleNotConfig :module="module" v-else />
</template>

<script>
export default {
  props: {
    module: {
      type: Object,
    },
    fileBaseUrl: {
      type: String,
    },
  },
};
</script>

<style lang="scss" scoped>
.cardArray {
  width: 100%;
}
.iconad-item {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}
.img-cart {
  border-radius: 10px;
}

</style>